package com.PlantVsZombies.game;

import javax.swing.JFrame;

import com.PlantVsZombies.ui.GamePanel;
import com.PlantVsZombies.ui.GamePanel2;
import com.PlantVsZombies.ui.ServerPanel;
import com.PlantVsZombies.util.MP3Player;

public class MainFrame extends JFrame{
	public static Welcome welcome = new Welcome();
	public static Menu m = new Menu();
	public static GamePanel p1 ;
	public static GamePanel2 p2 ;
	public static MainFrame P;
	public static MainFrame frame;
	public static ServerPanel serverPanel;
	public static MP3Player backmusic2;
	public MainFrame(){	
		super();
		this.setSize(900,630);
		this.setLocation(0, 0);
		this.add(welcome);
		this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		this.setResizable(false);
		this.setLocationRelativeTo(null);
		this.setVisible(true);
		
		
	}
	public static void main(String[] args) {
		P = new MainFrame();
	}
	
	
}
